/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.charlie.sessions;

import com.charlie.beans.ShipmentOrder;
import com.charlie.beans.SoHistory;
import com.charlie.beans.StatusDict;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Вова
 */
@Local
public interface SoHistoryFacadeLocal {

    void create(SoHistory soHistory);
    void createNewItem(SoHistory soHistory);

    void edit(SoHistory soHistory);

    void remove(SoHistory soHistory);

    SoHistory find(Object id);

    List<SoHistory> findAll();

    List<SoHistory> findRange(int[] range);

    int count();
    
    SoHistory findItem(ShipmentOrder s, StatusDict status);
    
    SoHistory update(SoHistory h);
    
}
